// @ts-ignore
/* eslint-disable */
import request from '@/services/request';

/** 全部 POST /v1/file/upload-token */
export async function fileV1ControllerCreateUploadToken(
  body: API.FileCreateUploadTokenDto,
  options?: { [key: string]: any },
) {
  return request<API.FileCreateUploadTokenResult>('/v1/file/upload-token', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
